import math
x1 = math.cos(math.pi/6)+1
x2 = math.cos(math.pi/3)+1
s = x1/x2
print(s)